//
//  HomeViewModel.h
//  DingDongXiChe
//
//  Created by wtjr on 2018/1/4.
//  Copyright © 2018年 xieyingze. All rights reserved.
//

#import "BaseViewModel.h"
#import "ServiceModel.h"

@interface HomeViewModel : BaseViewModel

@property (nonatomic, strong) NSMutableArray<ServiceModel *> *annotationModelLists;

@property (nonatomic, assign) CLLocationCoordinate2D currentCoordiante;
/**
 定位到当前位置信号
 */
@property (nonatomic, strong) RACSubject *updateLocationSubject;

@property (nonatomic, strong) RACSubject *updateMenuViewLayoutSubject;

@property (nonatomic, strong) RACSubject *gotoServiceDetailSubject;

@property (nonatomic, strong) RACSubject *updateMAPointAnnotationSubject;

@property (nonatomic, strong) RACSubject *updateCurrentLocationSubject;

@property (nonatomic, strong) RACCommand *queryNearbyServiceInfoCommand;

- (ServiceModel *)getAnnotationModelWithTitle:(NSString *)title;

@end
